﻿using BaseData.API.Read.Dtos;
using BaseData.ErrorCode;
using MediatR;

namespace BaseData.API.Read.Applications.Commands
{
    /// <summary>
    /// 角色管理查询请求
    /// </summary>
    public class RoleQueryCommand:IRequest<ApiResult<ApiPaging<List<RoleDTO>>>>
    {
        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize { get; set; }
        /// <summary>
        /// 角色名称
        /// </summary>

        public string? RoleName { get; set; }
    }
}
